package edu.dayu.proxyTest3;

import edu.dayu.proxyTest2.Invocation;

public interface Interceptor {

    /**
     * 具体拦截处理
     */
    Object intercept (Invocation invocation) throws Exception;

    /**
     * 插入目标类
     */
    Object plugin(Object target);
}
